package com.theaf.basemodule.common.model;

import com.theaf.core.annotation.FieldCn;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * @Author:songwenke
 * @Description:
 * @Date:create in 14:49 2017/12/21
 * @Modified By:
 **/
@ApiModel("操作日志明细")
@Entity
@Table(name = "sys_ope_log_list")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysOpeLogList {
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.SEQUENCE,generator = "user_id_req")
    @SequenceGenerator(name = "user_id_req", sequenceName = "sys_req")
    @FieldCn(value = "id")
    private long id;
    @FieldCn(value = "主表id")
    @Column(name = "main_id")
    private long mainId;
    @FieldCn(value = "字段名")
    @Column(name = "field_name")
    private String fieldName;
    @FieldCn(value = "字段值")
    @Column(name = "field_value")
    private String fieldValue;
    @FieldCn(value = "字段说明")
    @Column(name = "field_title")
    private String fieldTitle;



}
